package com.dmz.proxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Laptop
 */
@Controller
public class IndexController {

    @RequestMapping("/railway")
    public String index() {
        return "forward:/index.html";
    }

/*    @RequestMapping("/bbcpclient/login")
    public String reset() {
        return "index.html";
    }

    @RequestMapping("/bbcpclient/index")
    public String reLogin() {
        return "index.html";
    }

    @RequestMapping("/{path:[^\\.]*}")
    public String forward() {
        // 转发到Vue应用的index.html页面
        return "forward:/index.html";
    }*/
}
